using SqlSugar;

namespace PlaneCleanEntity
{
    /// <summary>
    /// 
    /// </summary>
    public class t_menu
    {
        /// <summary>
        /// 
        /// </summary>
        public t_menu()
        {
        }

        /// <summary>
        /// 菜单id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int m_id { get; set; }

        /// <summary>
        /// 菜单guid
        /// </summary>
        public string m_guid { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string m_name { get; set; }

        /// <summary>
        /// 父级菜单ID 0表示根节点
        /// </summary>
        public int? m_parent_id { get; set; }

        /// <summary>
        /// 菜单顺序
        /// </summary>
        public int? m_sequence { get; set; }
        /// <summary>
        /// 菜单：menu,按钮:button
        /// </summary>
        public string m_type { get; set; }
        /// <summary>
        /// 菜单图标资源
        /// </summary>
        public string m_icon { get; set; }

        /// <summary>
        /// 菜单地址url
        /// </summary>
        public string m_url { get; set; }
        /// <summary>
        ///  菜单页面对应按钮权限
        /// </summary>
        public string m_buttens { get; set; }
        /// <summary>
        /// (tag打开的时候)是否缓存页面1缓存0不缓存
        /// </summary>
        public int? m_cache { get; set; }

        /// <summary>
        /// 菜单状态 1可用，0不可用
        /// </summary>
        public int? m_state { get; set; }

        /// <summary>
        /// 菜单是否可编辑 1可编辑，0不可编辑(删除操作)
        /// </summary>
        public int? m_editable { get; set; }
        /// <summary>
        /// 重定向地址，在面包屑中点击会重定向去的地址
        /// </summary>
        public string m_redirect { get; set; }
    }
}